//
//  CustomView.m
//  UI01_UIWindow_UIView
//
//  Created by Scott on 16/5/3.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import "CustomView.h"

@implementation CustomView


#pragma mark - Creating and Init
+ (instancetype)customViewWithFrame:(CGRect)frame color:(UIColor *)color {
    
    CustomView *custom = [[CustomView alloc] initWithFrame:frame];
    
    custom.backgroundColor = color;
    
    return [custom autorelease];
    
}






@end
